package com.lin.filegraph.utils.model;

/**
 * @description:
 * @author: linhuaixu
 * @time: 2023/5/18 10:49
 */

public class Module {

    int ID;
    String simpleName;
    String fullName;
    int belongModule;
    int level;
    int numOfFiles;
    int LOC;

    public Module(int iD, String simpleName, String fullName, int dependModule, int level, int numOfFiles, int lOC) {
        super();
        ID = iD;
        this.simpleName = simpleName;
        this.fullName = fullName;
        this.belongModule = dependModule;
        this.level = level;
        this.numOfFiles = numOfFiles;
        LOC = lOC;
    }

    public Module(int iD, String simpleName, String fullName, int dependModule, int level) {
        this(iD, simpleName, fullName, dependModule, level, 0,0);
    }

    public int getID() {
        return ID;
    }

    public void setID(int iD) {
        ID = iD;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public int getBelongModule() {
        return belongModule;
    }

    public void setBelongModule(int dependModule) {
        this.belongModule = dependModule;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getNumOfFiles() {
        return numOfFiles;
    }

    public void setNumOfFiles(int numOfFiles) {
        this.numOfFiles = numOfFiles;
    }

    public int getLOC() {
        return LOC;
    }

    public void setLOC(int lOC) {
        LOC = lOC;
    }

}

